<#include "header.html" />

<div class="span-16" id="maincol">
  <div id="updateform" class="box">
    <#if postingError??>
      <div class="error">
        ${postingError}
      </div>
    </#if>
    <form action="${base}/post" method="post">
      ${user.name}, what's on your mind? <br />
      <textarea name="content" rows="3" columns="70"></textarea><br />
      <input type="submit" value="Update">
    </form>
  </div>
  <#include "_posts.html" />
    
</div>

<div class="span-7 last" id="rightcol">
  <div class="span-7 box">
    <h4><#if followers?size = 0>0 followers<#else>follower ${followers?size}</#if></h4>
    <#assign users = followers><#include "_user_list.html" />
  </div>
  <div class="span-7 box">
    <h4>Following ${followees?size}</h4>
    <#assign users = followees><#include "_user_list.html" />
  </div>
</div>

<#include "footer.html" />